﻿package com.yhm.action;



import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
@Component("util")
@Scope("prototype")//必须注解为多态
public class UtilAction extends ActionSupport {
//依赖注入	
//页面属性
	private String json;
//访问方法
	public String index() {
		return "index";
	}
//set get
	public String getJson() {
		return json;
	}
	public void setJson(String json) {
		this.json = json;
	}
}
